package java68_7;

public class DocNetTeacher extends  Teacher {
    public DocNetTeacher(String name, String school) {
        super(name, school);
    }
    public void giveLession(){
        System.out.println("打开visual studio 2018");
        System.out.println("理论");
        super.giveLession();
    }
    public void manageSQL(){
        System.out.println("这个老师在管理Sql server 数据库");
    }

    @Override
    public String toString() {
        return super.name+"是一个.net老师,主要教授c#,vb.net等等";
    }
}
